package com.liucxu.qiushimeinv.Model.Impl;

import com.liucxu.qiushimeinv.Api.UserService;
import com.liucxu.qiushimeinv.Model.Bean.BaseBean;
import com.liucxu.qiushimeinv.Model.IPayFeedbackModel;
import com.liucxu.qiushimeinv.Utils.DeviceUtils;
import com.liucxu.qiushimeinv.Utils.ServiceFactory;

import java.util.HashMap;

import rx.Observable;

/**
 * 充值反馈
 * Created by liukanshan on 2017/1/5.
 */

public class PayFeedbackModelImpl implements IPayFeedbackModel {
    @Override
    public Observable<BaseBean> payFeedback(String count) {
        HashMap<String,String> values=new HashMap<>();
        values.put("task","payFeedback");
        values.put("feedbackContent",count);
        values.put("deviceId", DeviceUtils.GetDevcieId());
        return ServiceFactory.GetInstance().createService(UserService.class).payFeedback(values);
    }
}
